package com.health.db.dao.msg.impl;

import java.util.List;

import com.health.db.dao.ServiceInterface;
import com.health.db.dao.msg.IHospitalSpecimenDetailDao;
import com.health.db.mapper.HospitalSpecimenDetailMapper;
import com.health.db.model.HospitalSpecimenDetail;
import com.health.db.model.HospitalSpecimenDetailExample;

public class HospitalSpecimenDetailDaoImpl extends ServiceInterface implements IHospitalSpecimenDetailDao {

	 private HospitalSpecimenDetailMapper hospitalSpecimenDetailMapper;
	
	@Override
	public long countByExample(HospitalSpecimenDetailExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailMapper.countByExample(example);
	}

	@Override
	public int insert(HospitalSpecimenDetail record) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailMapper.insert(record);
	}

	@Override
	public int insertSelective(HospitalSpecimenDetail record) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailMapper.insertSelective(record);
	}

	@Override
	public List<HospitalSpecimenDetail> selectByExample(
			HospitalSpecimenDetailExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailMapper.selectByExample(example);
	}

	@Override
	public HospitalSpecimenDetail selectByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailMapper.selectByPrimaryKey(id);
	}

	public HospitalSpecimenDetailMapper getHospitalSpecimenDetailMapper() {
		return hospitalSpecimenDetailMapper;
	}

	public void setHospitalSpecimenDetailMapper(
			HospitalSpecimenDetailMapper hospitalSpecimenDetailMapper) {
		this.hospitalSpecimenDetailMapper = hospitalSpecimenDetailMapper;
	}
	
}